//
//  FirstViewController.h
//  EducationLive
//
//  Created by Apple on 2017/9/26.
//  Copyright © 2017年 ZhouHao. All rights reserved.
//
#import <Foundation/Foundation.h>

@interface MAAFRequest : NSObject

typedef void (^SuccessBlock)(id responseBody);
typedef void (^FailureBlock)(NSString *error);
// 头文件配置
+ (AFHTTPSessionManager *)baseHtppRequest:(BOOL)networkState;
// 首页栏目
+ (void)getColumn:(NSDictionary *)userInfo networkState:(BOOL) networkState successBlock:(SuccessBlock )successBlock failureBlock:(FailureBlock)failureBlock;
// 首页数据
+ (void)getIndex:(NSDictionary *)userInfo networkState:(BOOL) networkState successBlock:(SuccessBlock )successBlock failureBlock:(FailureBlock)failureBlock;

@end
